package auth.service.feign;

import com.wu.common.utils.R;
import com.wu.common.vo.auth.UserLoginVo;
import com.wu.common.vo.auth.UserRegisterVo;
import com.wu.common.vo.member.MemberUserLoginVo;
import com.wu.common.vo.member.MemberUserRegisterVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @program: gumo-mall
 * @author: wuyunpeng
 * @create: 2025-04-08 15:43
 */
@FeignClient(value = "gulimall-member")
public interface MemberFeignService {

    @PostMapping("/member/member/register")
    public R register(@RequestBody UserRegisterVo userRegisterVo);

    @PostMapping("/member/member/login")
    public R login(@RequestBody UserLoginVo userLoginVo);

}